Effective DevOps with AWS by Yogesh Raheja

Effective DevOps with AWS by Yogesh Raheja

Author:Yogesh Raheja
Language: eng
Format: epub
Tags: COM091000 - COMPUTERS / Cloud Computing, COM088000 - COMPUTERS / System Administration / General, COM088020 - COMPUTERS / System Administration / Windows Administration
Publisher: Packt Publishing
Published: 2018-09-28T10:17:11+00:00


./node_modules/mocha/bin/mocha main page 1) "before all" hook 0 passing (48ms) 1 failing 1) main page "before all" hook: TypeError: connect ECONNREFUSED 127.0.0.1:3000

As you can see, our test is failing. It can't connect to the web application. This is, of course, expected, since we haven't implemented the application code yet.

Developing the remainder of the application

We are now ready to develop our application. Since we already went through creating the exact code in Chapter 2, Deploying Your First Web Application, we are simply going to copy it or download it directly as follows:

$ curl -L https://raw.githubusercontent.com/yogeshraheja/Effective-DevOps-with-AWS/master/Chapter02/helloworld.js > helloworld.js

We can now test the code again using the npm command:

$ npm test Server running main page should say hello world 1 passing (78ms)

The output of running the preceding command is as follows:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.